package okw.database.repositories;

import java.util.List;

import okw.database.model.MessagePackage;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

import core.communication.message.MessageType;

@Transactional
public interface MessagePackageRepository extends JpaRepository<MessagePackage, Long> {

	List<MessagePackage> findAllByType(MessageType votespackage);

}
